package defaultPackage;

public enum ObjectType 
{
	LifeSupport(500, true,false,false,true,10,"Life Support System",true),
	ResourceGatherer(4000, false,true,false,true,20,"Asteroid Miner",true),
	Door(150,false,false,true,false,40,"Blast Doors",false),
	Airlock(250,false,false,true,false,100,"Airlock",false),
	Corpse(0, false,false,false,true,10,"Corpse",false);
	
	private ObjectType(int value, boolean generatesOxygen, boolean generatesResources,boolean blocksAir,boolean isMoveable,int weight,String designation,boolean displaysOperational)
	{
		this.displaysOperational = displaysOperational;
		this.designation = designation;
		this.isMoveable = isMoveable;
		this.weight = weight;
		this.value = value;
		setGeneratesOxygen(generatesOxygen);
		setGeneratesResources(generatesResources);
		setBlocksAir(blocksAir);
	}
	
	public void setGeneratesOxygen(boolean generatesOxygen)
	{
		this.generatesOxygen = generatesOxygen;
	}
	
	public void setGeneratesResources(boolean generatesResources)
	{
		this.generatesResources = generatesResources;
	}
	
	public void setBlocksAir(boolean blocksAir)
	{
		this.blocksAir = blocksAir;
	}
	
	public void setMoveable(boolean isMoveable)
	{
		this.isMoveable = isMoveable;
	}
	
	public String getDesignation()
	{
		return designation;
	}
	
	public void setDesignation(String designation)
	{
		this.designation = designation;
	}
	
	
	
	
	public boolean isGeneratingOxygen()
	{
		return generatesOxygen;
	}
	
	public boolean isGeneratingResources()
	{
		return generatesResources;
	}
	
	public boolean isBlockingAir()
	{
		return blocksAir;
	}
	
	public boolean isMoveable()
	{
		return isMoveable;
	}
	
	
	
	
	
	public void setValue(int value)
	{
		this.value = value;
	}
	
	public int getValue()
	{
		return value;
	}
	public int getWeight()
	{
		return weight;
	}
	private boolean generatesOxygen,generatesResources,blocksAir,isMoveable;
	private int value, weight;
	String designation;
	boolean displaysOperational;
}
